package com.cn.springcloudapi.inter;

import com.cn.springcloudapi.model.URole;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@FeignClient(value = "spring-cloud-client",decode404 = true)
public interface TestFallbackApi {
	@RequestMapping("/client/hi")
	public String getHi(@RequestParam(value ="name" ) String name,@RequestBody  URole uRole);
}
